package com.neusoft.neuiotms.dcvm.service;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import com.neusoft.bizcore.web.support.Searchable;
import com.neusoft.neuiotms.dcvm.dto.ConfigDTO;

public interface ConfigService {

    ConfigDTO details(final Long id);

    ConfigDTO details(final String code);

    ConfigDTO create(ConfigDTO dto);

    ConfigDTO update(Long id, ConfigDTO dto);

    void delete(Long id);

    Page<ConfigDTO> search(Pageable pageable, Searchable searchable);

}
